<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<link rel="stylesheet" type="text/css" href='<?php echo asset_url()."customcss/custombody.css"; ?>'>
<script src='<?php echo asset_url()."customjs/jquery.totemticker.min.js"; ?>' type="text/javascript"></script>
<script src='<?php echo asset_url()."customjs/responsiveslides.min.js"; ?>' type="text/javascript"></script>
<link href='<?php echo asset_url()."customcss/responsivecss.css"; ?>' rel="stylesheet" type="text/css" />
<link href='<?php echo asset_url()."customcss/ticker_style.css"; ?>' rel="stylesheet" type="text/css" />
<title>Welcome TO AITAA&reg</title>
<script type="text/javascript">
		$(function(){
			$('#vertical-ticker').totemticker({
				row_height	:	'100px',
				interval	:	'1800',
				speed       :   '1800',
				next		:	'#ticker-next',
				previous	:	'#ticker-previous',
				stop		:	'#stop',
				start		:	'#start',
				mousestop	:	true,
			});
		});
	</script>
<script>
  $(function() {
    $(".rslides").responsiveSlides({
    	maxwidth: "800px",  
    });
  });
</script>
</head>
<body>
  <?php if($this->session->flashdata('email_sent')) { ?> <div class="alert alert-success"> <?php echo $this->session->flashdata('email_sent'); }?></div>
  <?php if($this->session->flashdata('email_not_sent')) { ?> <div class="alert alert-warning"> <?php echo $this->session->flashdata('email_not_sent'); }?></div>
<?php include_once 'application/libraries/scroller.html';?>
<div class="col-xs-12 col-md-8">
	<ul class="rslides">
		<li><img src='<?php echo asset_url()."images/image-slider-1.jpg";?> ' style='width:100%;'/></li>
		<li><img src='<?php echo asset_url()."images/image-slider-2.jpg";?> ' /></li>
		<li><img src='<?php echo asset_url()."images/image-slider-3.jpg";?> ' /></li>
		<li><img src='<?php echo asset_url()."images/image-slider-4.jpg";?> ' /></li>
		<li><img src='<?php echo asset_url()."images/image-slider-5.jpg";?> ' /></li>
	</ul>
</div>
<div id="wrapper" class="col-xs-6 col-md-4 pull-right">
			<ul id="vertical-ticker">
			<?php 
				foreach($scroller_e as $row)
				{
					echo "<li>".$row->eventName."<br>";
					echo "To Be Held on ".$row->eventDate."</li>";
					
				}
				shuffle($scroller_a);
				foreach($scroller_a as $row)
				{
					echo "<li>".$row->title."<br>";
					echo $row->name." of ".$row->deptCode." Batch ".$row->batch;
					echo "<br>For more details <a href='#'>Click Here</a></li>";
				}
			?>
		</ul>
		
		<p id="ticker" align="center"><a href="#" id="ticker-previous">Previous</a> / <a href="#" id="ticker-next">Next</a> / <a id="stop" href="#">Stop</a> / <a id="start" href="#">Start</a></p>
	
	</div>

<div style="clear:both;height:0;"></div>
 <br><br><br>
 